export const CURRENT_HEADER = 'current_header';

interface currentheaderAction {
  type: typeof CURRENT_HEADER;
  payload: string;
}

export type currentheaderActionTypes = currentheaderAction;

export const currentheaderActionCreator = (
  currentheaderCode: string
): currentheaderAction => {
  return {
    type: CURRENT_HEADER,
    payload: currentheaderCode,
  };
};
